Repository navigation
chore: freeze pre-commit hooks and keep image digests out of article code - #116
Merged
Merged
Conversation
Every rev is the commit its tag points at today, with the tag in a "# frozen:" comment so Renovate keeps both current. No version changes. The commitlint config, installed unversioned on every hook install, is pinned as well.
The shared preset is about to pin Docker image digests in Dockerfiles and compose files. Code under docs/blog is published as written, so it is excluded.
Contributor
Live previewLast updated: 2026-11-12T17:58:42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
chore(pre-commit): freeze hooks to commit SHAs
Every rev is the commit its tag points at today, with the tag in a
"# frozen:" comment so Renovate keeps both current. No version changes.
The commitlint config, installed unversioned on every hook install, is
pinned as well.
chore(renovate): keep image digests out of the code shown in articles
The shared preset is about to pin Docker image digests in Dockerfiles and
compose files. Code under docs/blog is published as written, so it is
excluded.
Verified
git ls-remote(the peeled commit for annotated tags), and a check asserts that onlyrev,additional_dependenciesandlanguagelines changed..bun-version, annotated versions andpython-versioninputs.Merge order
Merge this before meysam81/.github#9. That preset change pins Docker image digests in Dockerfiles and compose files; the rule added here keeps it away from the code published under
docs/blog.pre-commit.ci still has an autoupdate PR open here (#85). It rewrites frozen revs back to tags; Renovate does that job once the preset is merged.